package com.smedi.ismedi.cronjob.core.domain.service;

import com.smedi.ismedi.cronjob.core.domain.aggregatemodel.JobInfo;
import org.quartz.JobDataMap;
import org.quartz.JobDetail;
import org.quartz.JobKey;
import org.quartz.Trigger;

import java.util.List;

public interface JobService {
    List<JobInfo> findAll();

    JobDetail getJobDetail(JobKey jobKey, String description, JobDataMap map);

    JobDataMap getJobDataMap(JobInfo jobInfo);

    Trigger getTrigger(JobInfo jobInfo);

    JobKey getJobKey(JobInfo jobInfo);
}
